//**********任务日志***********/;
import request from '@/utils/request.js';

/**
 * 保存
 * @doc http://hanma-lesscode.hc-iiot.com/swagger-ui.html#!/
 * data 参数 
 *  createBy:'', //$column.comments 	类型:string 非必填
 *  createDate:'', //$column.comments 	类型:string 非必填
 *  exceptionInfo:'', //异常信息 	类型:string 非必填
 *  invokeTarget:'', //调用目标字符串 	类型:string 非必填
 *  jobGroup:'', //任务组名 	类型:string 非必填
 *  jobMessage:'', //日志信息 	类型:string 非必填
 *  jobName:'', //任务名称 	类型:string 非必填
 *  modifyBy:'', //$column.comments 	类型:string 非必填
 *  modifyDate:'', //$column.comments 	类型:string 非必填
 *  startTime:'', //$column.comments 	类型:string 非必填
 *  status:'', //$column.comments 	类型:string 非必填
 *  stopTime:'', //$column.comments 	类型:string 非必填
 * @returns
 * ********
 */
export function postHmsysjoblog(data={}, config={}){
  return request({
    method: 'post',
    data,
    url: `/api/hmsysjoblog`,
    ...config,
  }) 
}

/**
 * 修改
 * @doc http://hanma-lesscode.hc-iiot.com/swagger-ui.html#!/
 * data 参数 
 *  createBy:'', //$column.comments 	类型:string 非必填
 *  createDate:'', //$column.comments 	类型:string 非必填
 *  exceptionInfo:'', //异常信息 	类型:string 非必填
 *  invokeTarget:'', //调用目标字符串 	类型:string 非必填
 *  jobGroup:'', //任务组名 	类型:string 非必填
 *  jobLogId:'', //$column.comments 	类型:integer 非必填
 *  jobMessage:'', //日志信息 	类型:string 非必填
 *  jobName:'', //任务名称 	类型:string 非必填
 *  modifyBy:'', //$column.comments 	类型:string 非必填
 *  modifyDate:'', //$column.comments 	类型:string 非必填
 *  startTime:'', //$column.comments 	类型:string 非必填
 *  status:'', //$column.comments 	类型:string 非必填
 *  stopTime:'', //$column.comments 	类型:string 非必填
 * @returns
 * ********
 */
export function putHmsysjoblog(data={}, config={}){
  return request({
    method: 'put',
    data,
    url: `/api/hmsysjoblog`,
    ...config,
  }) 
}

/**
 * 删除
 * @doc http://hanma-lesscode.hc-iiot.com/swagger-ui.html#!/
 * data 参数 // 类型 array
 * []integer
 * @returns
 * ********
 */
export function deleteHmsysjoblog(data=[], config={}){
  return request({
    method: 'delete',
    data,
    url: `/api/hmsysjoblog`,
    ...config,
  }) 
}

/**
 * 详情
 * @doc http://hanma-lesscode.hc-iiot.com/swagger-ui.html#!/
 * params 参数 
 * jobLogId:'', //jobLogId 必填
 * @returns
 * ********
 */
export function getHmsysjoblogInfo(params={}, config={}){
  return request({
    method: 'get',
    params,
    url: `/api/hmsysjoblog/info`,
    ...config,
  }) 
}

/**
 * 分页列表
 * @doc http://hanma-lesscode.hc-iiot.com/swagger-ui.html#!/
 * params 参数 
 * pageNo:'', //页码 非必填
 * pageSize:'', //每页数据条数 非必填
 * jobName:'', //jobName 非必填
 * jobGroup:'', //jobGroup 非必填
 * status:'', //status 非必填
 * @returns
 * ********
 */
export function getHmsysjoblogPageList(params={}, config={}){
  return request({
    method: 'get',
    params,
    url: `/api/hmsysjoblog/page/list`,
    ...config,
  }) 
}